package com.wyl.mapper

import com.wyl.pojo.User
import org.apache.ibatis.session.SqlSessionFactory
import org.mybatis.spring.support.SqlSessionDaoSupport
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Component

class UserMapperImpl2 : SqlSessionDaoSupport(), UserMapper {
    override fun getUserList(): List<User> {
        return sqlSession.getMapper(UserMapper::class.java).getUserList()
    }
}